﻿#ifndef SYSGETREGSERIAL_H
#define SYSGETREGSERIAL_H

#include <QObject>
#include <QProcess>

class Q_DECL_EXPORT SysGetRegSerial
{
public:
                       SysGetRegSerial();
        static bool    Init_WMI();
        static bool    Free_WMI();
	static QString     Encrypt(QString text);
	    static char    GetSerialMsgVal();
		static QString GetSerialMsgStr();
		static char    GetVerMsgVal();
		static QString GetVerMsgEngStr(char ver_val);
		static QString GetVerMsgChnStr(char ver_val);
		static char *  GetVerMsgEngChar(char ver_val);
		static char *  GetVerMsgChnChar(char ver_val);
        static bool    GetOriginalSerial(QStringList strlist,QString& str);
        static QString GetASCChar(char *pasc);
		static void    WriteGetKEYLog(QString str_hd,QString str_mb,QString str_ser);
};

#endif // SYSGETREGSERIAL_H
